GetSessionIDLogIn

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > GetSessionIDLogIn

## GetSessionIDLogIn

The GetSessionIDLogIn function will log in a user and return a session.

###### Syntax

TLogInResult * GetSessionIDLogIn( BSTR ACheckPointUserName, BSTR APassword ) ;

###### Parameters

ACheckPointUserName

[IN] This is a string value that represents the CheckPoint user's name

APassword

[IN] This is a string value that represents the CheckPoint user's password.

###### Remarks

This function is prerequisite for many web services functions. Most of CheckPoint's web service function requires a the session ID that is generated with this GetSessionIDLogin.

###### Return Value

Returns the custom class TLogInResult. The fields of interest that is related to this method are:

- SessionID- The session Id that is generated by the log in

- Success- if the log in was successful

- CheckPointUserID- the corresponding user's ID

- IsAdmin- if the user is an administrator

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"